package test5.gui;

import javax.swing.JPanel;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JTextField;
import javax.swing.border.TitledBorder;

public class test5Panel extends JPanel {
	protected JPanel panel;
	protected JButton btnNewButton;
	protected JLabel lblNewLabel;
	protected JTextField textField;

	/**
	 * Create the panel.
	 */
	public test5Panel() {

		initialize();
	}
	private void initialize() {
		setLayout(null);
		
		panel = new JPanel();
		panel.setBorder(new TitledBorder(null, "Title", TitledBorder.LEADING, TitledBorder.TOP, null, null));
		panel.setBounds(50, 94, 268, 165);
		add(panel);
		panel.setLayout(null);
		
		btnNewButton = new JButton("New button");
		btnNewButton.setBounds(67, 38, 89, 23);
		panel.add(btnNewButton);
		
		lblNewLabel = new JLabel("New label");
		lblNewLabel.setBounds(10, 42, 46, 14);
		panel.add(lblNewLabel);
		
		textField = new JTextField();
		textField.setBounds(166, 39, 86, 20);
		panel.add(textField);
		textField.setColumns(10);
	}
}
